﻿#include "member.h"

#include <QDebug>

Member::Member(int id, int level)
{
    m_id = id;
    m_level = level;
}

void Member::receiveImage(int id, QString imageName)
{
    qDebug() << m_id << " receive " << imageName;
}

void Member::receiveText(int id, QString textInfo)
{
    qDebug() << m_id << " receive " << textInfo;
}

void Member::setChartRoom(AbstractChatRoom *chartRoom)
{
    m_chartRoom = chartRoom;
}

int Member::id()
{
    return m_id;
}

int Member::level()
{
    return m_level;
}
